﻿using System.Collections.Generic;
using System.Windows;
using MDCAdminTool.Controls.Data_Cache.ViewModels;
using Microsoft.ApplicationServer.Caching;
using System.Windows.Controls;

namespace MDCAdminTool.Controls
{
    public partial class SearchDataCache : UserControl
    { 
        public SearchDataCache()
        {
            InitializeComponent();
        }

        public SearchDataCache(MdcCache cache) : this()
        {
            var vm = new SearchDataCacheViewModel {Cache = cache};
            DataContext = vm;
        }
    }
}
